package com.imooc.alllearning.common;

import lombok.Data;

import java.io.Serializable;

/**
 * 通用分页查询返回实体
 * Created by lijian on 2020/3/27 11:52
 */
@Data
public class PageResult<T> implements Serializable {

    private static final long serialVersionUID = 6993181761592729856L;
    private Integer pageNo;//当前页号
    private Integer pageSize;//每页行数
    private Long total;//总记录数
    private Long pageNum;// 总页数
    private T data;//动态内容
}
